-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure balances remain unchanged for optimal validators during leak #1830
Conversation
Does this go into v0.12? |
Yes @q9f, we chatted with client teams yesterday before deciding on inclusion here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
tests/core/pyspec/eth2spec/test/phase_0/epoch_processing/test_process_rewards_and_penalties.py
Outdated
Show resolved
Hide resolved
All feedback addressed @hwwhww |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Address #1370 to preserve the design goal of "if attesting perfectly during an inactivity leak, your balance remains unchanged"
Approach: During an inactivity leak, do not scale base rewards by participation so that they perfectly cancel out with the baseline penalties applied for the inactivity leak (not including the actual quadratic leak portion).